package com.sdp.irrigation.db.irrigation_eq_repair.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sdp.core.bizc.db.IViewQuery;
import com.sdp.core.bizc.vo.DataCenter;
import com.sdp.irrigation.db.irrigation_eq_repair.mapper.IrrigationEqRepairMapper;
import com.sdp.irrigation.db.irrigation_eq_repair.service.IIrrigationEqRepairService;
import com.sdp.irrigation.entity.IrrigationEqRepair;

/**
 * <p>
 * 设备报修信息 服务实现类
 * </p>
 *
 * @author zsp
 * @since 2025-02-02
 */
@Service
public class IrrigationEqRepairServiceImpl extends ServiceImpl<IrrigationEqRepairMapper, IrrigationEqRepair> implements IIrrigationEqRepairService,IViewQuery {

	@Autowired
	private IrrigationEqRepairMapper irrigationEqRepairMapper;

	@Override
	public <T> List<T> viewList(QueryWrapper<T> queryWrapper, DataCenter dc) {
		return irrigationEqRepairMapper.viewList(queryWrapper, dc);
	}

	@Override
	public <T> int viewCount(QueryWrapper<T> queryWrapper) {
		return irrigationEqRepairMapper.viewCount(queryWrapper);
	}

	@Override
	public <T> IPage<T> viewPage(IPage<T> page, QueryWrapper<T> queryWrapper, DataCenter dc) {
		return irrigationEqRepairMapper.viewPage(page, queryWrapper, dc);
	}
}
